<? 
 
 $index     =  rand ( 0 , sizeof($this->groups) - 1 );
 $groupName = $this->randomName; // $this->groups[$index]->Name;
 $url       = "/request/group/name/{$groupName}/size/-1";
 $url       = "/request/picture/name/{$groupName}/index/{$this->random[0]->id}";
 $subject   = $this->random[0]->subject;
 
?> 
  

<h2 class="title2">Subscribed Groups</h2>
<div class="box-gray">

<? foreach ($this->groups as $item):  
  $group = $item->Name;
  $groupListURI = $this->url( array("controller"=>"group",
                                      "group"=>$group,
                                      "page"=>"1",
                                      "action"=>"join") ); ?> 

<p style="padding:10px"> <a href="<?= $groupListURI ?>"><?= trunk($group, TABLET_TEXT_LENGTH) ?><span><span class="arrow">&#187;</span></span></a></p>
 

 
<?php endforeach ?> 

 </div> 






				


 <p class="note">
        <?  $p = new Default_Model_Paginator;
             $prefix = "/tablet/index/index/page/"; 
            $p->PageSize = 10;
             echo $p->Pages(sizeof($this->fullList), $this->pageNumber, $prefix); ?>
</p>


<h2 class="title2">Find Groups</h2>
<div class="box-gray">
					
<p style="padding:10px"><label for="drp">Search</label><input onchange="location.href='/tablet/index/index/param/'+this.value" type="text"/></p>
				
</div>























